<script setup>
	import {
		onLaunch,
		onShow,
		onHide
	} from '@dcloudio/uni-app'

	onLaunch(() => {
		console.log('app启动')
	})

	onShow(() => {
		console.log('app显示')
	})

	onHide(() => {
		console.log('app隐藏')
	})
</script>

<style>
	/*每个页面公共css */
	.tc {
		text-align: center;
	}

	.tr {
		text-align: right;
	}

	.p-1 {
		padding: 1rem;
	}

	.m-1 {
		margin: 1rem;
	}

	.d-flex {
		display: flex;
	}

	.flex-warp {
		flex-wrap: wrap;
	}
</style>